﻿using System;

namespace LTJ.Entity
{
    /// <summary>
    /// 权限实体
    /// </summary>
    [Serializable]
    public class Authority
    {
        private int _cid = 0;   //企业ID
        private int _uid = 0;   //用户ID
        private string _authoritys = "";    //权限
        private int _mlevel = 0;    //管理级别
        private int _ulevel = 0;    //读取级别
        private string _uname = "";
        private string _cname = "";

        /// <summary>
        /// 企业ID
        /// </summary>
        public int Cid
        {
            set { _cid = value; }
            get { return _cid; }
        }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int Uid
        {
            set { _uid = value; }
            get { return _uid; }
        }
        /// <summary>
        /// 操作权限
        /// </summary>
        public string Authoritys
        {
            set { _authoritys = value; }
            get { return _authoritys; }
        }
        /// <summary>
        /// 管理级别
        /// </summary>
        public int Mlevel
        {
            set { _mlevel = value; }
            get { return _mlevel; }
        }
        /// <summary>
        /// 读取级别
        /// </summary>
        public int Ulevel
        {
            set { _ulevel = value; }
            get { return _ulevel; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string Uname
        {
            set { _uname = value; }
            get { return _uname; }
        }
        /// <summary>
        /// 公司名
        /// </summary>
        public string Cname
        {
            set { _cname = value; }
            get { return _cname; }
        }
    }
}
